package com.gz.WeChatSys.service.impl;

import com.gz.WeChatSys.dao.WxMpDialogDao;
import com.gz.WeChatSys.dao.WxMpMsgDao;
import com.gz.WeChatSys.model.WxMpDialog;
import com.gz.WeChatSys.model.WxMpMessage;
import com.gz.WeChatSys.service.WxMpDialogService;
import com.gz.WeChatSys.service.WxMpMsgService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class WxMpMsgServiceImpl implements WxMpMsgService {

    @Resource
    private WxMpMsgDao wxMpMsgDao;

    @Override
    public Integer insert(WxMpMessage wxMpMessage) {
        return wxMpMsgDao.insertSelective(wxMpMessage);
    }
}
